Mac下装mujoco | 您所在的位置:网站首页 › macos无法验证此app不包含恶意软件怎么解决 聚焦搜索 › Mac下装mujoco |
Mujoco 官网https://www.roboti.us/index.html 报错: 无法打开“simulate”,因为无法验证开发者。 macOS无法验证此App不包含恶意软件 解决: 系统偏好设置中安全性与隐私页面打开 开始运行./simulate …/model/humanoid.xml 提示打不开,拒绝删除,安全页面会弹出“允许”提示 多允许几次就好了 环境变量 export LD_LIBRARY_PATH=$HOME/.mujoco/mujoco200/bin:$LD_LIBRARY_PATH export MUJOCO_PY_MJPRO_PATH=$HOME/.mujoco/mujoco200/ export MUJOCO_PY_MJKEY_PATH=$HOME/.mujoco/mjkey.txt报错: AttributeError: module ‘mujoco_py’ has no attribute ‘load_model_from_path’ 说来神奇,我的解决方案是在site-package里发现了两个mujocoXX.egg文件,可能因为我一开始装了mjpro150,后来卸载没卸干净,然后我直接delete了150,就好了 但是会有一些疑似警告的红字 objc[10721]: Class GLFWApplicationDelegate is implemented in both /Users/didi/.mujoco/mujoco200/bin/libglfw.3.dylib (0x11ff0c778) and /Users/didi/Programe/miniconda3/envs/env36/lib/python3.6/site-packages/glfw/libglfw.3.dylib (0x11ffc5740). One of the two will be used. Which one is undefined. objc[10721]: Class GLFWWindowDelegate is implemented in both /Users/didi/.mujoco/mujoco200/bin/libglfw.3.dylib (0x11ff0c700) and /Users/didi/Programe/miniconda3/envs/env36/lib/python3.6/site-packages/glfw/libglfw.3.dylib (0x11ffc5768). One of the two will be used. Which one is undefined. objc[10721]: Class GLFWContentView is implemented in both /Users/didi/.mujoco/mujoco200/bin/libglfw.3.dylib (0x11ff0c7a0) and /Users/didi/Programe/miniconda3/envs/env36/lib/python3.6/site-packages/glfw/libglfw.3.dylib (0x11ffc57b8). One of the two will be used. Which one is undefined. objc[10721]: Class GLFWWindow is implemented in both /Users/didi/.mujoco/mujoco200/bin/libglfw.3.dylib (0x11ff0c818) and /Users/didi/Programe/miniconda3/envs/env36/lib/python3.6/site-packages/glfw/libglfw.3.dylib (0x11ffc5830). One of the two will be used. Which one is undefined.我试了一下删除那个glfw,别问为什么,问就是闲的,结果就是报错,找不到mujoco_py了,于是重装的。。 如果你知道怎么把这些去了,欢迎留言,强迫症的确有点难受 最后记录一下自己的环境 Mac系统 python3.6 mujoco200 mujoco-py 2.0.2.13 gym0.15.3 pytorch 1.4.0 linux服务器 python3.6 mujoco200 mujoco-py 2.0.2.13 gym0.17.0 pytorch 1.2.0 |
CopyRight 2018-2019 实验室设备网 版权所有 |